﻿@{
    Layout = null;
    Gtkj.CMS.Model.AdminInfo user = ViewData["User"] as Gtkj.CMS.Model.AdminInfo;
}

<!DOCTYPE html>

<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <meta content="" name="description" />
    <meta content="" name="author" />
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="~/Content/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
    <link href="~/Content/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" />
    <link href="~/Content/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="~/Content/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" />
    <!-- END GLOBAL MANDATORY STYLES -->
    <!-- BEGIN THEME GLOBAL STYLES -->
    <link href="~/Content/assets/global/css/components.min.css" rel="stylesheet" id="style_components" />
    <link href="~/Content/assets/global/css/plugins.min.css" rel="stylesheet" />
    <!-- END THEME GLOBAL STYLES -->
    <!-- BEGIN THEME LAYOUT STYLES -->
    <link href="~/Content/assets/layouts/layout/css/layout.min.css" rel="stylesheet" />
    <link href="~/Content/assets/layouts/layout/css/themes/darkblue.min.css" rel="stylesheet" id="style_color" />
    @*<link href="~/Content/assets/layouts/layout/css/custom.min.css" rel="stylesheet"   />*@
    <link href="~/Content/assets/layouts/layout/css/custom.min.css" rel="stylesheet" />
    @*<link href="~/Content/css/dk_scrm.min.css" rel="stylesheet"   />*@
    <link href="~/Content/css/dk_scrm.min.css" rel="stylesheet" />
    <link href="~/Scripts/layui/css/layui.css" rel="stylesheet" />
    <script src="~/Content/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
    <script src="~/Scripts/layui/layui.all.js"></script>


    <!--[if IE 8]> <link href="../css/ie8.min.css" rel="stylesheet"   /> <![endif]-->
    <!-- END THEME LAYOUT STYLES -->
    <link rel="shortcut icon" href="favicon.ico" />
</head>
<!-- END HEAD -->

<body class="page-header-fixed page-sidebar-closed-hide-logo page-content-white">
    <!-- BEGIN HEADER -->
    <div class="page-header navbar navbar-fixed-top">
        <!-- BEGIN HEADER INNER -->
        <div class="page-header-inner ">
            <!-- BEGIN LOGO -->
            <div class="page-logo">
                <div class="menu-toggler sidebar-toggler">
                    <span></span>
                </div>
            </div>
            <div class="logo1">
                @*<a href="index.html"><img src="~/Content/image/logo.png" alt="logo" class="logo-default" /></a>*@
                <h4>小狐科技后台管理系统</h4>
            </div>
            <!-- END LOGO -->
            <!-- BEGIN TOP NAVIGATION MENU -->
            <div class="top-menu">
                <ul class="nav navbar-nav pull-right">
                    <li class="dropdown dropdown-user">
                        <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
                            <i class="fa fa-group"></i><!-- <i class="icon-user"></i> -->
                            <span class="username username-hide-on-mobile">@user.UserName.ToString()</span>
                            <i class="fa fa-angle-down"></i>
                        </a>
                        <ul class="dropdown-menu dropdown-menu-default">
                            <li>
                                <a href="#myModal1" role="button" data-toggle="modal"><i class="icon-user"></i>修改密码 </a>
                            </li>
                            <li>
                                <a href="~/Home/Exit">
                                    <i class="icon-calendar"></i> 退出系统
                                </a>
                            </li>
                        </ul>
                    </li>
                    <!-- END USER LOGIN DROPDOWN -->
                </ul>
            </div>
            <!-- END TOP NAVIGATION MENU -->
        </div>
        <!-- END HEADER INNER -->
    </div>
    <!-- Modal -->
    <div id="myModal1" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel1" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content" style="width: 620px">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                    <h4 class="modal-title"></h4>
                </div>
                <div class="modal-body">
                    <h4 class="modal-title">
                        @Html.Action("ModifyPwd", "Home")
                    </h4>
                </div>
            </div>
        </div>
    </div>
    <!-- END HEADER -->
    <!-- BEGIN HEADER & CONTENT DIVIDER -->
    <div class="clearfix"> </div>
    <!-- END HEADER & CONTENT DIVIDER -->
    <!-- BEGIN CONTAINER -->
    <div class="page-container">
        <!-- BEGIN SIDEBAR -->
        <div class="page-sidebar-wrapper">
            <!-- BEGIN SIDEBAR -->
            <div class="page-sidebar navbar-collapse collapse">
                <!-- BEGIN SIDEBAR MENU -->
                <ul class="page-sidebar-menu  page-header-fixed " data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200" style="padding-top: 20px">
                    <li class="nav-item">
                        <a href="/Home/Main" class="nav-link nav-toggle">
                            <i class="icon-home"></i>
                            <span class="title">首页</span>
                            <span class="arrow"></span>
                        </a>
                    </li>

                    <li class="nav-item">
                        <a href="javascript:;" class="nav-link nav-toggle">
                            <i class="icon-bulb"></i>
                            <span class="title">快捷访问</span>
                            <span class="arrow"></span>
                        </a>
                        <ul class="sub-menu">
                            <li class="nav-item  ">
                                <a href="~/Home/GetOrder?Type=1" class="nav-link ">
                                    <span class="title">今日回访</span><span style="color:red">&nbsp;&nbsp;&nbsp;@ViewData["jinri"].ToString()</span>
                                </a>
                            </li>

                            <li class="nav-item  ">
                                <a href="~/Home/GetOrder?Type=5" class="nav-link ">
                                    <span class="title">今日订单</span><span style="color:red">&nbsp;&nbsp;&nbsp;@ViewData["jinridingdan"].ToString()</span>
                                </a>
                            </li>
                            <li class="nav-item ">
                                <a href="~/Home/GetOrder?Type=2" class="nav-link ">
                                    <span class="title">3日过期</span><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@ViewData["3ri"].ToString()</span>
                                </a>
                            </li>
                            <li class="nav-item ">
                                <a href="~/Home/GetOrder?Type=3" class="nav-link ">
                                    <span class="title">7日过期</span><span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@ViewData["7ri"].ToString()</span>
                                </a>
                            </li>
                            <li class="nav-item ">
                                <a href="~/Home/GetOrder?Type=4" class="nav-link ">
                                    <span class="title">15日过期</span><span style="color:red">&nbsp;&nbsp;&nbsp;@ViewData["15ri"].ToString()</span>
                                </a>
                            </li>

                        </ul>
                    </li>

                    <li class="nav-item">
                        <a href="javascript:;" class="nav-link nav-toggle">
                            <i class="icon-briefcase"></i>
                            <span class="title">客户订单</span>
                            <span class="arrow"></span>
                        </a>
                        <ul class="sub-menu">
                            <li class="nav-item ">
                                <a href="~/Home/GetOrder?Type=0" class="nav-link ">
                                    <span class="title">全部订单</span>
                                </a>
                            </li>
                            <li class="nav-item ">
                                <a href="~/Home/AddOrder" class="nav-link ">
                                    <span class="title">添加订单</span>
                                </a>
                            </li>
                            <li class="nav-item ">
                                <a href="~/Home/CustomerList" class="nav-link ">
                                    <span class="title">客户列表</span>
                                </a>
                            </li>
                            <li class="nav-item ">
                                <a href="~/Home/SummaryEdit" class="nav-link ">
                                    <span class="title">添加汇总</span>
                                </a>
                            </li>
                        </ul>
                    </li>

                    @if (user.IsAdmin == true)
                    {
                        <li class="nav-item">
                            <a href="javascript:;" class="nav-link nav-toggle">
                                <i class="icon-settings"></i>
                                <span class="title">管理系统</span>
                                <span class="arrow"></span>
                            </a>

                            <ul class="sub-menu">
                                
                                <li class="nav-item  ">
                                    <a href="~/Home/GetOrder?Type=6" class="nav-link ">
                                        <span class="title">当月订单</span>
                                    </a>
                                </li>
                                <li class="nav-item  ">
                                    <a href="~/Home/ThisMonthMoney" class="nav-link ">
                                        <span class="title">当月业绩</span>
                                    </a>
                                </li>
                                <li class="nav-item ">
                                    <a href="~/Home/Summary" class="nav-link ">
                                        <span class="title">汇总列表</span>
                                    </a>
                                </li>
                                <li class="nav-item  ">
                                    <a href="~/Home/AdminInfoList" class="nav-link ">
                                        <span class="title">账号管理</span>
                                    </a>
                                </li>
                                <li class="nav-item  ">
                                    <a href="~/Home/AddUser" class="nav-link ">
                                        <span class="title">添加账号</span>
                                    </a>
                                </li>
                            </ul>
                        </li>
                    }

                </ul>
                <!-- END SIDEBAR MENU -->
                <!-- END SIDEBAR MENU -->
            </div>
            <!-- END SIDEBAR -->
        </div>
        <!-- END SIDEBAR -->
        <!-- BEGIN CONTENT -->
        <div class="page-content-wrapper">
            <!-- BEGIN CONTENT BODY -->

            @RenderBody()
            <!-- END CONTENT BODY -->
            <!-- BEGIN FORM-->
        </div>
        <!-- END CONTENT -->
    </div>
    <!-- END CONTAINER -->
    <!-- BEGIN FOOTER -->
    <div class="page-footer">
        <div class="page-footer-inner">
            Copyright © 2017 小狐科技 版权所有
        </div>
        <div class="scroll-to-top">
            <i class="icon-arrow-up"></i>
        </div>
    </div>
    <!-- END FOOTER -->
    <!--[if lt IE 9]>
    <script src="~/Content/assets/global/plugins/respond.min.js"></script>
    <script src="~/Content/assets/global/plugins/excanvas.min.js"></script>
    <![endif]-->
    <script src="~/Content/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <script src="~/Content/assets/global/plugins/js.cookie.min.js" type="text/javascript"></script>
    <script src="~/Content/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
    <script src="~/Content/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
    <script src="~/Content/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
    <script src="~/Content/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
    <!-- END CORE PLUGINS -->
    <!-- BEGIN THEME GLOBAL SCRIPTS -->
    <script src="~/Content/assets/global/scripts/app.min.js" type="text/javascript"></script>
    <!-- END THEME GLOBAL SCRIPTS -->
    <!-- BEGIN THEME LAYOUT SCRIPTS -->
    @RenderSection("js", false)
    <script src="~/Content/assets/layouts/layout/scripts/layout.min.js" type="text/javascript"></script>
    <!-- END THEME LAYOUT SCRIPTS -->
</body>

</html>